package com.zl.aop.service2;

import com.zl.aop.service2.MyBizService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author ZLL
 * @date create in 2018/05/09
 */
public class ExMain {

    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("spring3.xml");

        MyBizService bean = ac.getBean(MyBizService.class);

        bean.testThrowing();

    }
}
